import java.util.Date;


public class Record {
	String table;
	int id;
	String createdOn;
	String modifiedOn;
	int createdBy;
	int modifiedBy;
	
	public Record(String table, int id, String createdOn, String modifiedOn, int createdBy, int modifiedBy) {
		this.table = table;
		this.id = id;
		this.createdOn = createdOn;
		this.modifiedOn = modifiedOn;
		this.createdBy = createdBy;
		this.modifiedBy = modifiedBy;
	}
	
	public Record() {
		this.table = null;
		this.id = 0;
		this.createdOn = new Date().toString();
		this.modifiedOn = new Date().toString();
		this.createdBy = 1;
		this.modifiedBy = 1;
	}
	public String getTable() {
		return table;
	}
	public void setTable(String table) {
		this.table = table;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCreatedOn() {
		return createdOn;
	}
	public void setCreatedOn(String createdOn) {
		this.createdOn = createdOn;
	}
	public String getModifiedOn() {
		return modifiedOn;
	}
	public void setModifiedOn(String modifiedOn) {
		this.modifiedOn = modifiedOn;
	}
	public int getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(int createdBy) {
		this.createdBy = createdBy;
	}
	public int getModifiedBy() {
		return modifiedBy;
	}
	public void setModifiedBy(int modifiedBy) {
		this.modifiedBy = modifiedBy;
	}
}
